package com.myzl.coal.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 消息源对象 t_message_source
 *
 * @author myzl
 * @date 2023-01-10
 */
@Data
@TableName("t_message_source")
public class MessageSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @Excel(name = "主键自增")
    private Long id;

    /** 用途 */
    @Excel(name = "用途")
    private String purpose;

    /** 消息源名称 */
    @Excel(name = "消息源名称")
    private String name;

    /** 事件类型(1皮带秤 2筛机) */
    @Excel(name = "事件类型(1皮带秤 2筛机)")
    private String eventType;

    /** 订阅数 */
    @Excel(name = "订阅数")
    @TableField(exist = false)
    private String relationNum;

    @TableField(exist = false)
    private String confirmNum;

}
